home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-10-14 | 960 b | 51 lines | [TEXT/MMCC] |
- //---------------------------------------------------------------------
- //---------------------------------------------------------------------
- //
- // Horrible Rickety Shell, by Dave Johnson
- //
- // © Copyright 1985 - 1994 Anyone Who Wants It,
- // All Rights Energetically Heaved as far away from me as possible.
- // Use at your own (considerable) risk.
-
-
- #include "Shell.h"
-
- Boolean gDoneFlag = false;
- Rect gDeskRect;
- MenuHandle gShellMenuHandles[kNumShellMenus];
- long gClickTime;
-
-
- void main (void)
- {
- EventRecord theEvent;
- CursHandle Curs;
-
- FlushEvents (everyEvent - diskMask, 0 );
- MaxApplZone();
- InitGraf (&qd.thePort);
- InitFonts ();
- InitWindows ();
- InitMenus ();
- TEInit ();
- InitDialogs (nil);
- InitCursor ();
-
- Curs = GetCursor(watchCursor);
- SetCursor(*Curs);
-
- initshell();
-
- InitCursor();
-
- while(gDoneFlag == false)
- {
- UnloadSeg(initshell);
- WaitNextEvent(everyEvent, &theEvent, 0, nil);
- DoEvent(&theEvent);
- }
- BailOut();
- }
-
-
-